package io.gitee.zicai.bus.sample.service;

import io.gitee.zicai.bus.sample.cmd.CmdSendParam;
import io.gitee.zicai.bus.sample.cmd.ICmdSender;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * CmdSender
 *
 * @author zicai
 * @since 2021-04-02
 */
@Slf4j
@Component
public class CmdSender implements ICmdSender {

    @Override
    public void sendHello(CmdSendParam sendParam) {
        log.info(">>> sendHello param -> {}", sendParam.getMessage());
    }
}
